import React from 'react';
import { PropTypes } from 'prop-types';

class Indexx extends React.Component {
	constructor(props){
		super();
		this.state = {
			name: props.name
		}
	}

	render(){
		return (
			<div><h1>{this.state.name}</h1></div>
		)
	}
}

Indexx.proptype={
	name: PropTypes.string.isRequest
}

export default Indexx;